package com.itheima.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.itheima.dao.LogDao;
import com.itheima.pojo.Log;
import com.itheima.service.LogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;

@Service(interfaceClass = LogService.class)
@Transactional

public class LogServiceImpl implements LogService {
    @Autowired
    private LogDao logDao;

    @Override
    public void add(Log log) {
        logDao.add(log);
    }
}
